<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="app">
        <gwb_div></gwb_div>
        <ssda :msg="dd">
            <gwb_div></gwb_div>
        </ssda>
    </div>
    
</body>
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.14/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.14/dist/vue.js"></script>
<script>
    Vue.component("gwb_div",{
        template:`
        <div> 傻逼魏书正</div>
        `
    })
    var foot={
        props:{
            msg:{
                type:String,
                default:""
            }
        },
        data(){
            
            return {

            }
        },
        template:`
          <div> 傻逼程鹏
            <slot></slot>
            {{msg}}
            </div>
        `
    }
    let vm= new Vue({
        el:'.app',
        data:{
            dd:"dddddd"
        },
        components:{
            'ssda':foot
        }
    })
</script>
</html>